package com.hxd.mall.injector.modules

import com.hxd.mall.injector.scope.ActivityScope
import com.hxd.mall.module.usercenter.home.IMinePresenter
import com.hxd.mall.module.usercenter.home.IMineView
import com.hxd.mall.module.usercenter.home.MineFragment
import com.hxd.mall.module.usercenter.home.MinePresenter
import dagger.Binds
import dagger.Module

/**
 * Created by qishuai on 2018/7/30.
 */
@Module
abstract class MineFragmentModule {

    @Binds
    internal abstract fun bindView(activity: MineFragment): IMineView

    @ActivityScope
    @Binds
    abstract fun provideMinePresenter(presenter: MinePresenter): IMinePresenter
}